# -*- encoding:utf8 -*-
from django.contrib import admin

# Register your models here.
import models

class JiemuAdmin(admin.ModelAdmin):
    list_display=('jiemu_id','order','title','number')
    def number(self,instance):
        return instance.number()

    number.short_description='点赞数'
    
admin.site.register(models.Jiemu,JiemuAdmin)